package com.chanyachting.emall.service;

import java.util.List;

import com.chanyachting.emall.domain.Company;
import com.chanyachting.emall.domain.Companykeyword;
import com.chanyachting.emall.domain.Companyproductcategory;
import com.chanyachting.emall.domain.Member;



//公司对象操作接口 
public interface CompanyService {
	
	public static final String COMPANY_IN_SESSION="COMPANY_IN_SESSION";
	
	//创建公司信息
	public boolean createCompany(Company company,Member member);
	
	//修改公司信息
	public boolean updateCompany(Company company);

	//获得公司信息
	public Company getOneCompany(Company company);
	
	//创建公司黄页
	public boolean createCompanyYellowPage(Company company);
	
	//修改公司黄页
	public boolean updateCompanyYellowPage(Company company);
	
	//刷新公司资料
	public boolean refreshCompany(Company company);
	
	//添加公司关键字
	public boolean addCompanyKeyWord(Company company,Companykeyword ckeyword);
	
	//删除公司关键字
	public boolean delCompanykeyword(Company company,Companykeyword ckeyword);
	
	//设置公司商品分类
	public boolean setCompanyproductcategory(Company company,Companyproductcategory cpc);
	
	//用传入的ID获得公司信息
	public List<Company> getCompanyById(String id);
}
